import { Routes, RouterModule }  from '@angular/router';
import { TripDriverComponent } from './tripdriver.component';
import {TripdriverDetailComponent} from "./detail/tripdriver-detail.component";
import {StoptripdriverComponent} from "./stop/stoptripdriver.component";


const routes: Routes = [
  {
    path: '',
    component: TripDriverComponent
  },
  {
    path:'detail/:trip_id',
    component: TripdriverDetailComponent
  },
  {
    path:'stop',
    component: StoptripdriverComponent
  }

];

export const routing = RouterModule.forChild(routes);
